﻿using Anley.DomainDrivenDesign.Contract.DependencyInjection;

namespace Anley.DomainDrivenDesign.Contract.Helper;

/// <summary>
/// 图片帮助接口
/// </summary>
public interface IImageHelper
    : IScopedAutoInject
{
    /// <summary>
    /// 下载文件
    /// </summary>
    /// <param name="remoteUrl">远程地址</param>
    /// <param name="localPath">本地路径</param>
    /// <returns></returns>
    Task DownloadFileAsync(
        string remoteUrl,
        string localPath);
}